import Vue from 'vue'
import App from './App.vue'
// ui组件
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 路由
import router from './router'

// 挂载axios
import request from '@/utils/request.js'
import MyChannel from '@/components/my-channel.vue'
Vue.component(MyChannel.name, MyChannel)

Vue.prototype.$http = request
Vue.config.productionTip = false
Vue.use(ElementUI)

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
